
/* zero-inflated poisson model, without imputation, Table S1 */
proc genmod data=access plots=all;
 class revolvingdoor(ref='0') newtype(ref='1');
 model count=revolvingdoor|staff_influence revolvingdoor|membe_influence staffsize newtype access_strategies breath agelog breath/dist=zip type3 wald;
 zeromodel revolvingdoor|staff_influence revolvingdoor|membe_influence staffsize newtype access_strategies breath agelog breath; 

/* zero-inflated poisson model, without transformations age and staff and without imputation, Table S2 */
proc genmod data=access plots=all;
 class revolvingdoor(ref='0') newtype(ref='1');
 model count=revolvingdoor|staff_influence revolvingdoor|membe_influence q21_01n newtype access_strategies breath age breath/dist=zip type3 wald;
 zeromodel revolvingdoor|staff_influence revolvingdoor|membe_influence q21_01n newtype access_strategies breath age breath; 

/* zero-inflated poisson model, without transformations age and staff, with imputation, Table S3 */
proc genmod data=access plots=all;
 class revolvingdoor(ref='0') newtype(ref='1');
 model count=revolvingdoor|staff_influence revolvingdoor|membe_influence q21_01n newtype access_strategies breath age breath/dist=zip type3 wald;
 zeromodel revolvingdoor|staff_influence revolvingdoor|membe_influence q21_01n newtype access_strategies breath age breath; 
run;
